package com.ygqh.baby.service.wechat.model;

import com.alibaba.fastjson.annotation.JSONField;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

/**
 * 〈微信清关重推实体〉
 *
 * @author guohao
 * @date 2018/12/6 17:10
 * @since 1.0.0
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class WxCustomDelarereDeclare implements Serializable {

    private static final long serialVersionUID = 8504128114443699133L;

    @XmlElement(name = "sign_type")
    @JSONField(name = "sign_type")
    private String signType;

    @XmlElement(name = "sign")
    @JSONField(name = "sign")
    private String sign;

    @XmlElement(name = "appid")
    @JSONField(name = "appid")
    private String appid;

    @XmlElement(name = "mch_id")
    @JSONField(name = "mch_id")
    private String mchId;

    /**
     * 商户订单号
     */
    @XmlElement(name = "out_trade_no")
    @JSONField(name = "out_trade_no")
    private String outTradeNo;

    /**
     * 微信支付订单号
     * <p>
     * 四选一
     */
    @XmlElement(name = "transaction_id")
    @JSONField(name = "transaction_id")
    private String transactionId;

    /**
     * 商户子订单号
     * <p>
     * 四选一
     */
    @XmlElement(name = "sub_order_no")
    @JSONField(name = "sub_order_no")
    private String subOrderNo;

    /**
     * 微信子订单号
     * <p>
     * 四选一
     */
    @XmlElement(name = "sub_order_id")
    @JSONField(name = "sub_order_id")
    private String subOrderId;

    @XmlElement(name = "customs")
    @JSONField(name = "customs")
    private String customs;

    @XmlElement(name = "mch_customs_no")
    @JSONField(name = "mch_customs_no")
    private String mchCustomsNo;

    @XmlElement(name = "action_type")
    @JSONField(name = "action_type")
    private String actionType;

    public String getActionType() {
        return actionType;
    }

    public void setActionType(String actionType) {
        this.actionType = actionType;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getAppid() {
        return appid;
    }

    public void setAppid(String appid) {
        this.appid = appid;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getSubOrderNo() {
        return subOrderNo;
    }

    public void setSubOrderNo(String subOrderNo) {
        this.subOrderNo = subOrderNo;
    }

    public String getSubOrderId() {
        return subOrderId;
    }

    public void setSubOrderId(String subOrderId) {
        this.subOrderId = subOrderId;
    }

    public String getCustoms() {
        return customs;
    }

    public void setCustoms(String customs) {
        this.customs = customs;
    }

    public String getMchCustomsNo() {
        return mchCustomsNo;
    }

    public void setMchCustomsNo(String mchCustomsNo) {
        this.mchCustomsNo = mchCustomsNo;
    }
}
